/**
 * SubjectTest
 *
 * @author Darksiderl
 * @date 2018/2/27
 */
public class SubjectTest {
    public static void main(String[] args) {

//        DemoSubject subject = new DemoSubject();
//
//        DemoObserver observer = new DemoObserver();
//
//        subject.registerObserver(observer);
//
//        subject.notifyAllObserver();

        int a = 211;
        System.out.println(a%10);
        System.out.println(a/10);

    }
}
